<?php

/**
 * @Author: wuchenge
 * @Date:   2021-12-14 16:51:40
 * @Email: ligui0506@126.com
 * @Descript:
 */
Route::middleware([
    'admin',
])
    ->group(function () {
        // 个人信息
        Route::get('info', 'IndexController@info')->name('info');

        // 热搜标签
        Route::post('hot/add', 'HotController@add')->name('hot.add');
        Route::get('hot/lists', 'HotController@lists')->name('hot.lists');
        Route::post('hot/del', 'HotController@del')->name('hot.del');
        Route::post('hot/modify', 'HotController@modify')->name('hot.modify');
        Route::get('hot/detail/{id}', 'HotController@detail')->name('hot.detail')->where('id', '[0-9]+');
    });
